#ifndef __sk6812_H
#define __sk6812_H
#ifdef __cplusplus
extern "C"
{
#endif

/* Includes ------------------------------------------------------------------*/
#include "stm32f1xx_hal.h"
#include "main.h"

  uint16_t *RGB2PWM_duty_array(uint32_t color);
  void set_leds_color(uint32_t *colors, uint8_t led_cnt);
  void leds_color_left_shift(uint32_t *colors, uint8_t led_cnt);

#ifdef __cplusplus
}
#endif
#endif /*__sk6812_H */